package com.fulihui.information.dal.dataobj;

import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;

import static com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant.INT;
import static com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant.VARCHAR;

@Table("info_category_statistics")
public class InfoCategoryStatistics extends InfoCategoryStatisticsKey {
    @Column(name = "read_times", type = INT)
    private Integer readTimes;
    @Column(name = "shared_times", type = INT)
    private Integer sharedTimes;
    @Column(name = "comment_times", type = INT)

    private Integer commentTimes;
    @Column(name = "star_times", type = INT)

    private Integer starTimes;
    @Column(name = "voteup_times", type = INT)

    private Integer voteupTimes;

    @Column(name = "votedown_times", type = INT)
    private Integer votedownTimes;

    @Column(name = "category_code", type = VARCHAR)
    private String categoryCode;
    @Column(name = "date_interval", type = VARCHAR)
    private String dateInterval;


    public Integer getReadTimes() {
        return readTimes;
    }

    public void setReadTimes(Integer readTimes) {
        this.readTimes = readTimes;
    }

    public Integer getSharedTimes() {
        return sharedTimes;
    }

    public void setSharedTimes(Integer sharedTimes) {
        this.sharedTimes = sharedTimes;
    }

    public Integer getCommentTimes() {
        return commentTimes;
    }

    public void setCommentTimes(Integer commentTimes) {
        this.commentTimes = commentTimes;
    }

    public Integer getStarTimes() {
        return starTimes;
    }

    public void setStarTimes(Integer starTimes) {
        this.starTimes = starTimes;
    }

    public Integer getVoteupTimes() {
        return voteupTimes;
    }

    public void setVoteupTimes(Integer voteupTimes) {
        this.voteupTimes = voteupTimes;
    }

    public Integer getVotedownTimes() {
        return votedownTimes;
    }

    public void setVotedownTimes(Integer votedownTimes) {
        this.votedownTimes = votedownTimes;
    }

    @Override
    public String getCategoryCode() {
        return categoryCode;
    }

    @Override
    public void setCategoryCode(String categoryCode) {
        this.categoryCode = categoryCode;
    }

    @Override
    public String getDateInterval() {
        return dateInterval;
    }

    @Override
    public void setDateInterval(String dateInterval) {
        this.dateInterval = dateInterval;
    }
}